package com.yc.psychologicalconsultant.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author YC
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserOnLine {
    private String id;

    private String username;

    private Integer gender;

    private String avatar;

    private String signature;

    private String phone;

    private String email;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birthday;
}
